func crypto/internal/mlkem768.compress
8 uses
crypto/internal/mlkem768 (current package)
mlkem768.go#L506: func compress(x fieldElement, d uint8) uint16 {
mlkem768.go#L643: b[i/8] |= uint8(compress(f[i], 1) << (i % 8))
mlkem768.go#L671: b[i/2] = uint8(compress(f[i], 4) | compress(f[i+1], 4)<<4)
mlkem768.go#L699: x |= uint64(compress(f[i+0], 10))
mlkem768.go#L700: x |= uint64(compress(f[i+1], 10)) << 10
mlkem768.go#L701: x |= uint64(compress(f[i+2], 10)) << 20
mlkem768.go#L702: x |= uint64(compress(f[i+3], 10)) << 30
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |